package com.xbts.screen.domain.vo;

import com.xbts.common.core.enums.DateTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author : llk
 * @Date: 2024/1/3 16:14
 */
@Data
@ApiModel("业务信息详情-按工厂")
public class BusinessInformationDetailByFactoryVO {

    @ApiModelProperty("目标")
    private List<Double> targetList;
    @ApiModelProperty("日期数组")
    private List<String> dateTimeList;
    @ApiModelProperty("日期对应的值数组")
    private List<Double> valueList;

    @ApiModelProperty("类型")
    private DateTypeEnum dateType;

    @ApiModelProperty("完成率")
    private CompletionRateVO completionRateVO;

    @Data
    public static class CompletionRateVO {
        private String yesterday;
        private String currentWeek;
        private String currentMonth;
    }

}
